#include <iostream>
#include "unique_ptr.h"
using namespace std;


void test1()
{
	yzc::unique_ptr<int> p1(new int);
	*p1 = 1;
	cout << "p1:" << *p1 << endl;

	//yzc::unique_ptr<int> p2(p1);
	//*p2 = 2;
	//cout << "p2:" << *p2 << endl;

	//yzc::unique_ptr<int> p3 = p2;
	//*p3 = 3;
	//cout << "p3:" << *p3 << endl;

}

int main()
{
	test1();
}